
package org.xteam.pascal.parser.ast;

import org.xteam.parser.runtime.Span;

public class Range extends org.xteam.parser.runtime.AstNode {
	
	public org.xteam.parser.runtime.reflect.AstNodeType getNodeType() {
		return PascalAstPackage.INSTANCE.getRangeType();
	}
	
	protected Identifier from;
	protected Identifier to;
	protected Identifier step;
	
	public Range(Span span, Identifier from,Identifier to,Identifier step) {
		super(span);
		this.from = from;
		this.to = to;
		this.step = step;
	}
	
	
	public Identifier getFrom() {
		return from;
	}
	
	public void setFrom(Identifier from) {
		this.from = from;
	}
	
	public Identifier getTo() {
		return to;
	}
	
	public void setTo(Identifier to) {
		this.to = to;
	}
	
	public Identifier getStep() {
		return step;
	}
	
	public void setStep(Identifier step) {
		this.step = step;
	}
	

	public void visit(IPascalVisitor visitor) {
		visitor.visitRange(this);
	}
}
